<?php
/**
 * This file is part of the Wicked package.
 *
 * Copyright Aymeric Assier <aymeric.assier@gmail.com>
 *
 * For the full copyright and license information, please view the Licence.txt
 * file that was distributed with this source code.
 */
namespace wicked\core;

use wicked\tools\Inflector;

/**
 * Wicked Request data
 *
 * @author Aymeric Assier <aymeric.assier@gmail.com>
 * @date 2012-10-05
 * @version 1.0
 */
abstract class Request
{

    use \wicked\tools\StaticAccessor;

    /** @var string */
    protected static $uri = '';

    /** @var bool */
    protected static $ajax = false;

    /** @var bool */
    protected static $mobile = false;

    /** @var string */
    protected static $browser = 'unknown';

    /** @var array */
    protected static $post = [];

    /** @var array */
    protected static $get = [];

    public static function hasPost()
    {
        return !empty(static::$post);
    }

}